using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CloneAnimtionTrigger : MonoBehaviour
{
    private CloneSkillControl cloneSC;

    private CloneSkillControl CloneSC
    { 
        get 
        {
            if (cloneSC == null)
            { 
                cloneSC = GetComponentInParent<CloneSkillControl>();
            }
            return cloneSC; 
        }
    }
    
    public void AnimaitonTrigger()
    {
        CloneSC.AnimationTrigger();
    }

    public void AttackTrigger()
    {
        CloneSC.AttackTrigger();
    }
}
